package com.wisely.highlight_spring4.ch2.el;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class DemoService {
	@Value("其他类的属性")  //注入普通字符串
	private String auther;

	public String getAuther() {
		return auther;
	}
	
//	public void setAuther(String auther) {
//		this.auther = auther;
//	}	
}
